{include file="header.php"}

<h2>{$title}</h2>

<form action="{$site_url}?controller=blog&action=create" method="post">
	
	<table>
		
		<!--
		Define inputbox for title
		-->
		<tr>
			<td>
				<label for="title">Title</label>
			</td>
			
			<td>
				<input type="text" id="title" name="title" classname="inputbox" />
			</td>
		</tr>
		
		
		<tr>
			<td>
				<label for="content">Content</label>
			</td>
			<td>
				<textarea name="content" id="content"></textarea>
			</td>
		</tr>
		
		<tr>
			<td>
				<label for="published">Published</label>
			</td>
			<td>
				<select name="published" id="published">
					<option value="1">Yes</option>
					<option value="0">No</option>
				</select>
			</td>
		</tr>
		
		<tr>
			<td></td>
			<td>
				<input type="submit" name="submit" id="submit" value="Save My Blog" />
			</td>
		</tr>
		
	</table>
	
</form>


{include file="footer.php"}